package com.letoken.platform.repo.admin.req.config;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "查询铸币配置请求对象", description = "查询铸币配置请求对象")
public class QueryIssueConfigReq extends QueryReqBase {

    @ApiModelProperty(name = "minIssueCount", value = "最小发行量", example = "1")
    private Integer minIssueCount;

    @ApiModelProperty(name = "maxIssueCount", value = "最大发行量", example = "200")
    private Integer maxIssueCount;

    @ApiModelProperty(name = "rewardRate", value = "奖励百分比（默认两倍）", example = "2")
    private Integer rewardRate;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime", value = "创建时间", example = "2020-09-25 21:35:53")
    private LocalDateTime createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime", value = "修改时间", example = "2020-10-01 21:35:53")
    private LocalDateTime updateTime;


}
